package me.olook.dubboproducer.service.impl;

import api.UserService;
import com.alibaba.dubbo.config.annotation.Service;

import java.time.LocalDateTime;

/**
 * @author zhaohw
 * @date 2018-08-27 10:16
 */
@Service
public class UserServiceImpl implements UserService {

    public UserServiceImpl(){
        System.out.println("初始化");
        System.out.println(this);
    }

    @Override
    public String hello() {
        return LocalDateTime.now().toString();
    }
}
